package it.stasbranger.myproject.service;

import it.stasbranger.myproject.domain.Suppliers;
import it.stasbranger.myproject.domain.SuppliersHasRequests;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Suppliers entities
 * 
 */
public interface SuppliersService {

	/**
	 * Save an existing Suppliers entity
	 * 
	 */
	public void saveSuppliers(Suppliers suppliers);

	/**
	 * Delete an existing Suppliers entity
	 * 
	 */
	public void deleteSuppliers(Suppliers suppliers_1);

	/**
	 * Save an existing SuppliersHasRequests entity
	 * 
	 */
	public Suppliers saveSuppliersSuppliersHasRequestses(Integer idsuppliers, SuppliersHasRequests related_suppliershasrequestses);

	/**
	 * Delete an existing SuppliersHasRequests entity
	 * 
	 */
	public Suppliers deleteSuppliersSuppliersHasRequestses(Integer suppliers_idsuppliers, Integer related_suppliershasrequestses_suppliersIdsuppliers, Integer related_suppliershasrequestses_requestsIdrequests);

	/**
	 */
	public Suppliers findSuppliersByPrimaryKey(Integer idsuppliers_1);

	/**
	 * Return all Suppliers entity
	 * 
	 */
	public List<Suppliers> findAllSupplierss(Integer startResult, Integer maxRows);

	/**
	 * Return a count of all Suppliers entity
	 * 
	 */
	public Integer countSupplierss();

	/**
	 * Load an existing Suppliers entity
	 * 
	 */
	public Set<Suppliers> loadSupplierss();
}